package me.caofeng.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;

import javax.print.DocFlavor;

/**
 * Copyright © 2017曹峰. All rights reserved.
 *
 * @Prject: mall
 * @Package: me.caofeng.pojo
 * @Description: 快递信息
 * @Author: 曹峰 blog.caofeng.me
 * @Date: 2017-07-03 22:33
 * @Version: V1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PostInfo extends Pojo {
    /**
     * 交易流水号
     */
    private String orderId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 收货人信息
     */
    private String goal;

    /**
     * 快递单号
     */
    private String postId;

    /**
     * 快递公式名字
     */
    private String postName;

    /**
     * 发货时间
     */
    private String sendTime;

    /**
     * 签收使劲按
     */
    private String signTime;

    /**
     * 物流详情，json数组，
     */
    private String detail ;

    public PostInfo() {
    }

    public PostInfo(String orderId,String postId,String postName) {
        this.orderId = orderId;
        this.postId = postId;
        this.postName = postName;
    }

    public PostInfo(String orderId, String userId) {
        this.orderId = orderId;
        this.userId = userId;
    }


    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGoal() {
        return goal;
    }

    public void setGoal(String goal) {
        this.goal = goal;
    }

    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getSignTime() {
        return signTime;
    }

    public void setSignTime(String signTime) {
        this.signTime = signTime;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "PostInfo{" +
                "orderId='" + orderId + '\'' +
                ", userId='" + userId + '\'' +
                ", goal='" + goal + '\'' +
                ", postId='" + postId + '\'' +
                ", id=" + id +
                ", postName='" + postName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", sendTime='" + sendTime + '\'' +
                ", isDelete=" + isDelete +
                ", signTime='" + signTime + '\'' +
                ", detail='" + detail + '\'' +
                '}';
    }
}
